//
//  PictureSelectCell.h
//  王雷Sinoweibo
//
//  Created by wanglei on 16/12/4.
//  Copyright © 2016年 wanglei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIButton_Extesion.h"
#import "Masonry.h"

//声明协议
@protocol PictureSelectCellDelegate<NSObject>
@optional
//协议方法
- (void)userWillChosePicture;
- (void)userWillDeletePicture:(UICollectionViewCell *)cell;

@end

@interface PictureSelectCell : UICollectionViewCell
@property(nonatomic,weak) id<PictureSelectCellDelegate> delegate;
@property(nonatomic,strong)UIButton *addBtn;
@property(nonatomic,strong)UIButton *deleteBtn;
@property(nonatomic,strong)UIImage *image;

- (void)addBtnDidClick;
- (void)deleteBtnDidClick;
@end
